package com.oracle.common.utils;

/**
 * 枚举类
 */
public enum ResEnum {

    success(ResCompent.SUCCESS_CODE,ResCompent.SUCCESS_MSG),
    failed(ResCompent.FAILED_CODE,ResCompent.FAILED_MSG)
    ;

    private Integer code;
    private String msg;

    ResEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
